package top.yxqz.spring.pojo;

/**
 * @author: 余小小
 * @date: 2023/4/4
 * @description：
 */
public class Student {
    private String stuName;
    private String gender;
    private Integer stuId;
    private Integer age;

    public Student() {
    }

    public Student(String stuName, String gender, Integer stuId, Integer age) {
        this.stuName = stuName;
        this.gender = gender;
        this.stuId = stuId;
        this.age = age;
    }

    /**
     * 获取
     * @return stuName
     */
    public String getStuName() {
        return stuName;
    }

    /**
     * 设置
     * @param stuName
     */
    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    /**
     * 获取
     * @return gender
     */
    public String getGender() {
        return gender;
    }

    /**
     * 设置
     * @param gender
     */
    public void setGender(String gender) {
        this.gender = gender;
    }

    /**
     * 获取
     * @return stuId
     */
    public Integer getStuId() {
        return stuId;
    }

    /**
     * 设置
     * @param stuId
     */
    public void setStuId(Integer stuId) {
        this.stuId = stuId;
    }

    /**
     * 获取
     * @return age
     */
    public Integer getAge() {
        return age;
    }

    /**
     * 设置
     * @param age
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    public String toString() {
        return "Student{stuName = " + stuName + ", gender = " + gender + ", stuId = " + stuId + ", age = " + age + "}";
    }
}
